﻿using System;
using ZX.EHR.Library;
using ZX.SYS.Bussiness.Message;
namespace ZX.WebApp
{
    public partial class MessagePanel : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) 
            {
                string gd = "";
                if (Session["User"] != null)
                {
                    DatUser duser = new DatUser();
                    duser = Session["User"] as DatUser;
                    gd = duser.UserID.ToString();

                }

                //待办事宜
                rptUnBegin.DataSource = new BMessageItem().GetReceiverSysMessages(5, gd);
                rptUnBegin.DataBind();
            }
        }
    }
}